<a href="<?php echo Yii::app()->createUrl('site/viewBaiGiang', array('id'=>$data->id)) ?>">
<div class="baigiang-view">
        <div class="thumb">
                <?php echo CHtml::image(
                                    $data->thumbnailUrl?
                                            Utils::createAbsoluteUrl($data->thumbnailUrl):
                                            Path::getDefaultBaiGiangThumbnailUrl(),
                                    '',
                                    array(
                                            'width'=>'160px',
                                            'height'=>'160px'
                                    )
                            ) 
                ?>
        </div>
        <div class="desc" align="center">
                <?php echo $data->name ?>
        </div>
</div>
</a>
